package cn.tedu.v1.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付列表
 * </p>
 *
 * @author tedu.cn
 * @since 2021-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bill")
public class Bill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 病人id
     */
    @TableField("patient_id")
    private Integer patientId;

    /**
     * 处方id
     */
    @TableField("prescription_id")
    private Integer prescriptionId;

    /**
     * 开具时间
     */
    @TableField("issued_time")
    private LocalDateTime issuedTime;

    /**
     * 支付状态0=未支付 1=已支付
     */
    @TableField("payment_state")
    private Integer paymentState;


}
